package cn.android.mydata2.entities;

import android.graphics.drawable.Drawable;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/**
 * Created by Administrator on 2016/10/30.
 */

@Table(name = "traffic")
public class TrafficModel {


    @Column(name = "uid",isId = true,autoGen = false
            )
    private int uid;

    @Column(name = "wifi")
    private long wifi;

    @Column(name = "cell")
    private long cell;

    @Column(name = "total")
    private long total;


    private Drawable icon;
    private String appName;

    public Drawable getIcon() {
        return icon;
    }

    public void setIcon(Drawable icon) {
        this.icon = icon;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public long getWifi() {
        return wifi;
    }

    public void setWifi(long wifi) {
        this.wifi = wifi;
    }

    public long getCell() {
        return cell;
    }

    public void setCell(long cell) {
        this.cell = cell;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public TrafficModel() {
    }




    @Override
    public String toString() {
        return "TrafficModel{" +
                "uid=" + uid +
                ", wifi=" + wifi +
                ", cell=" + cell +
                ", total=" + total +
                '}';
    }
}
